/**
 * 
 *//*
package com.cipe.cmrs.controllers;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cipe.cmrs.model.Paymentstatus;
import com.cipe.cmrs.service.PaymentrequeststatusService;

*//**
 * @author Incepio
 *
 *//*
@Controller
public class PaymentstatusController extends BaseController {

	*//**
	 * 
	 *//*
	private static final long			serialVersionUID	= -3823562098119817733L;
	@Autowired
	private PaymentrequeststatusService	paymentrequeststatusService;

	@RequestMapping("/secure/savePaymentrequeststatus.do")
	public String SavePaymentrequeststatus(@ModelAttribute("paymentrequeststatus") Paymentstatus paymentrequeststatus, BindingResult result, Model model, HttpServletRequest request) {
		if (paymentrequeststatusService.savePaymentrequeststatus(paymentrequeststatus, getUserId(request)) == null) {
			result.reject("editPaymentrequeststatus.message.error");
		} else {
			result.rejectValue("id", "editPaymentrequeststatus.message.success");
		}
		model.addAttribute("paymentrequeststatus", paymentrequeststatus);
		return "editPaymentrequeststatus";
	}

	@RequestMapping("/secure/showAddPaymentrequeststatus.do")
	public String showAddPaymentrequeststatus(Model model) {
		model.addAttribute("paymentrequeststatus", new Paymentstatus());
		return "editPaymentrequeststatus";
	}

	@RequestMapping("/secure/showEditPaymentrequeststatus.do")
	public String showEditPaymentrequeststatus(@RequestParam Integer id, Model model) {
		model.addAttribute("paymentrequeststatus", paymentrequeststatusService.findById(id));
		return "editPaymentrequeststatus";
	}

	@RequestMapping("/secure/showPaymentrequeststatusList.do")
	public String showPaymentrequeststatusList(Model model) {
		model.addAttribute("paymentrequeststatuses", paymentrequeststatusService.findAll());
		return "paymentrequeststatusList";
	}
}
*/